package org.fangzz.cameramgr.cameramonitor.service;

import org.fangzz.cameramgr.cameramonitor.dto.AreaSummary;
import org.fangzz.cameramgr.cameramonitor.model.Area;

import java.util.List;
import java.util.Map;

public interface AreaService {


    /**
     * 查询城市下的所有区县
     * @param cityCode 城市编码
     * @return
     */

    List<Area> findByCityCode(String cityCode);


    /**
     * 查询省份下的所有区县
     * @param provinceCode
     * @return
     */
    Map<String,List<AreaSummary>> findByProvinceCode(String provinceCode);

}
